package com.huluobo.lc.a1803aretrofitrxdemo.network.request;


import com.huluobo.lc.a1803aretrofitrxdemo.bean.JavaBean;
import com.huluobo.lc.a1803aretrofitrxdemo.network.response.Response;

import java.util.List;

import io.reactivex.Observable;
import retrofit2.http.POST;
import retrofit2.http.Query;

/**
 * @author Lc
 * @description:
 * @date :2020/11/10 14:12
 */
public interface Request {
    public static String HOST = "https://www.api.xxx.com/";

            @POST("?service=User.getList")
                    Observable<Response<List<JavaBean>>> getList(@Query("userId") String userId);
}
